<%-- 
    Document   : login
    Created on : Nov 23, 2010, 11:10:37 PM
    Author     : navneet
--%>

<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<div class="articles">
    <h2><a href="goFor.do?thisAction=login">Login</a></h2>
    <div id="login">
        <html:form action="/Login">
            <table>
                <tbody>
                    <tr>
                        <td>UserName:</td><td><html:text property="userId" styleClass="loginusername" /></td>
                    </tr>
                    <tr>
                        <td>Password:</td><td><html:password property="password" styleClass="loginpassword" /></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td><td align="center"><html:img src="Captcha.jpg" border="0" alt="Captcha Image" height="25px" width="200px" /></td>
                    </tr>
                    <tr>
                        <td>Security Code:</td><td><html:text property="j_captcha_response" styleClass="securitycode" /></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center"><html:submit>Login</html:submit></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td><td><html:link href="Link.do?act=forgotPwd">Forgot Password </html:link></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td><td><html:link href="resendActivLink.jsp">Resend Activation Link</html:link></td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <td colspan="2" align="left">
                            <span style='color:red'>
                                <bean:write name="LAFB" property="error"  /><br/>
                                <html:errors property="userId" /><br/>
                                <html:errors property="password" /><br/>
                                <html:errors property="j_captcha_response" /><br/>
                            </span>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </html:form>
    </div>
</div>